package com.sh.personnel.util.result;

import lombok.Getter;

/**
 * @author Administrator
 * @date 2019/12/14 21:13
 */
@Getter
public enum BaseResult {

    SUCCESS(200, "请求成功"),
    FAIL(202, "请求失败");

    private Integer code;
    private String message;

    BaseResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
